﻿// Decompiled with JetBrains decompiler
// Type: UnityEngine.Profiling.Experimental.DebugScreenCapture
// Assembly: UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: E6AE6B5A-2752-4B07-9528-C8B77C62CE79
// Assembly location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.dll
// XML documentation location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.xml

using Unity.Collections;

#nullable disable
namespace UnityEngine.Profiling.Experimental
{
  /// <summary>
  ///   <para>A raw data representation of a screenshot.</para>
  /// </summary>
  public struct DebugScreenCapture
  {
    /// <summary>
    ///   <para>A non-owning reference to the image data.</para>
    /// </summary>
    public NativeArray<byte> rawImageDataReference { get; set; }

    /// <summary>
    ///   <para>The format in which the image was captured.</para>
    /// </summary>
    public TextureFormat imageFormat { get; set; }

    /// <summary>
    ///   <para>Width of the image.</para>
    /// </summary>
    public int width { get; set; }

    /// <summary>
    ///   <para>Height of the image.</para>
    /// </summary>
    public int height { get; set; }
  }
}
